package com.tanhua.server.controller;

import com.tanhua.server.service.UserLikeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/users")
@RestController
public class UserLikeController {

    @Autowired
    private UserLikeService userLikeService;

    @GetMapping("/counts")
    public Object queryCounts(){
        return this.userLikeService.queryCounts();
    }

}
